package com.woniu.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "t_auctiongoods")
public class Auctiongoods implements Serializable {
    @Id
    private Integer agid;

    /**
     * 商品id
     */
    private Integer gid;

    /**
     * 起拍价
     */
    @Column(name = "firstPrice")
    private BigDecimal firstprice;

    /**
     * 加价幅度
     */
    @Column(name = "addPrice")
    private BigDecimal addprice;

    /**
     * 起拍时间
     */
    @Column(name = "startTime")
    private Date starttime;

    /**
     * 结束时间
     */
    @Column(name = "endingTime")
    private Date endingtime;

    /**
     * 围观次数
     */
    @Column(name = "focusNum")
    private Integer focusnum;

    /**
     * 当前价格
     */
    @Column(name = "currentPrice")
    private BigDecimal currentprice;

    /**
     * 实际参拍人数
     */
    @Column(name = "actualParticipateCount")
    private Integer actualparticipatecount;

    /**
     * 结束价
     */
    @Column(name = "endingPrice")
    private BigDecimal endingprice;

    private String auctionstatus;

    private static final long serialVersionUID = 1L;

    /**
     * @return agid
     */
    public Integer getAgid() {
        return agid;
    }

    /**
     * @param agid
     */
    public void setAgid(Integer agid) {
        this.agid = agid;
    }

    /**
     * 获取商品id
     *
     * @return gid - 商品id
     */
    public Integer getGid() {
        return gid;
    }

    /**
     * 设置商品id
     *
     * @param gid 商品id
     */
    public void setGid(Integer gid) {
        this.gid = gid;
    }

    /**
     * 获取起拍价
     *
     * @return firstPrice - 起拍价
     */
    public BigDecimal getFirstprice() {
        return firstprice;
    }

    /**
     * 设置起拍价
     *
     * @param firstprice 起拍价
     */
    public void setFirstprice(BigDecimal firstprice) {
        this.firstprice = firstprice;
    }

    /**
     * 获取加价幅度
     *
     * @return addPrice - 加价幅度
     */
    public BigDecimal getAddprice() {
        return addprice;
    }

    /**
     * 设置加价幅度
     *
     * @param addprice 加价幅度
     */
    public void setAddprice(BigDecimal addprice) {
        this.addprice = addprice;
    }

    /**
     * 获取起拍时间
     *
     * @return startTime - 起拍时间
     */
    public Date getStarttime() {
        return starttime;
    }

    /**
     * 设置起拍时间
     *
     * @param starttime 起拍时间
     */
    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    /**
     * 获取结束时间
     *
     * @return endingTime - 结束时间
     */
    public Date getEndingtime() {
        return endingtime;
    }

    /**
     * 设置结束时间
     *
     * @param endingtime 结束时间
     */
    public void setEndingtime(Date endingtime) {
        this.endingtime = endingtime;
    }

    /**
     * 获取围观次数
     *
     * @return focusNum - 围观次数
     */
    public Integer getFocusnum() {
        return focusnum;
    }

    /**
     * 设置围观次数
     *
     * @param focusnum 围观次数
     */
    public void setFocusnum(Integer focusnum) {
        this.focusnum = focusnum;
    }

    /**
     * 获取当前价格
     *
     * @return currentPrice - 当前价格
     */
    public BigDecimal getCurrentprice() {
        return currentprice;
    }

    /**
     * 设置当前价格
     *
     * @param currentprice 当前价格
     */
    public void setCurrentprice(BigDecimal currentprice) {
        this.currentprice = currentprice;
    }

    /**
     * 获取实际参拍人数
     *
     * @return actualParticipateCount - 实际参拍人数
     */
    public Integer getActualparticipatecount() {
        return actualparticipatecount;
    }

    /**
     * 设置实际参拍人数
     *
     * @param actualparticipatecount 实际参拍人数
     */
    public void setActualparticipatecount(Integer actualparticipatecount) {
        this.actualparticipatecount = actualparticipatecount;
    }

    /**
     * 获取结束价
     *
     * @return endingPrice - 结束价
     */
    public BigDecimal getEndingprice() {
        return endingprice;
    }

    /**
     * 设置结束价
     *
     * @param endingprice 结束价
     */
    public void setEndingprice(BigDecimal endingprice) {
        this.endingprice = endingprice;
    }

    /**
     * @return auctionstatus
     */
    public String getAuctionstatus() {
        return auctionstatus;
    }

    /**
     * @param auctionstatus
     */
    public void setAuctionstatus(String auctionstatus) {
        this.auctionstatus = auctionstatus;
    }
}